<template>
    <a-card :bordered="false">
  
      <!-- 查询区域 -->
      <div class="table-page-search-wrapper">
        <a-form layout="inline" @keyup.enter.native="searchQuery">
          <a-row :gutter="24">
  
            <a-col :md="6" :sm="12">
              <a-form-item label="账户">
                <a-input placeholder="输入账户查询" v-model="queryParam.account"></a-input>
              </a-form-item>
            </a-col>
            <a-col :md="6" :sm="12">
              <a-form-item label="昵称">
                <a-input placeholder="输入昵称查询" v-model="queryParam.nickName"></a-input>
              </a-form-item>
            </a-col>
            <a-col :md="6" :sm="12">
              <a-form-item label="真实姓名">
                <a-input placeholder="输入真实姓名查询" v-model="queryParam.realName"></a-input>
              </a-form-item>
            </a-col>
        
  
            <a-col :md="6" :sm="8">
              <span style="float: left;overflow: hidden;" class="table-page-search-submitButtons">
                <a-button type="primary" @click="searchQuery" icon="search">查询</a-button>
                <a-button type="primary" @click="searchReset" icon="reload" style="margin-left: 8px">重置</a-button>
              </span>
            </a-col>
  
          </a-row>
        </a-form>
      </div>
  
  
      <!-- table区域-begin -->
      <div>
        
  
        <a-table
          ref="table"
          bordered
          size="middle"
          rowKey="id"
          :columns="columns"
          :dataSource="dataSource"
          :pagination="ipagination"
          :loading="loading"
          :rowSelection="{selectedRowKeys: selectedRowKeys, onChange: onSelectChange}"
          @change="handleTableChange">
  

        </a-table>
      </div>
      
    </a-card>
  </template>
  
  <script>
    import {JeecgListMixin} from '@/mixins/JeecgListMixin'
    export default {
      name: "MyUserList",
      mixins: [JeecgListMixin],
      components: {
        
      },
      data() {
        return {
          description: '小程序用户管理页面',
          queryParam: {},
          recycleBinVisible: false,
          columns: [
            {
              title: '账户',
              align: "center",
              dataIndex: 'account',
              width: 100,
              sorter: true
            },
            {
              title: '昵称',
              align: "center",
              width: 100,
              dataIndex: 'nickName',
            },
            {
              title: '真实姓名',
              align: "center",
              width: 100,
              dataIndex: 'realName'
            },
            
            {
              title: '备注',
              align: "center",
              width: 100,
              dataIndex: 'remark'
            }
  
          ],
          
          url: {
            list: "/mpMini/mpUser/list",
            
          },
        }
      },
      computed: {
       
      },
      methods: {
       
      }
  
    }
  </script>
  <style scoped>
    @import '~@assets/less/common.less';
  </style>